package com.guiji.quartz.task;

import com.guiji.quartz.domain.Aninews;
import com.guiji.quartz.domain.Kr36;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @program: cms-vue-plus
 * @description:
 * @author: gaoX
 * @date 2022/1/13 16:27
 */
@Component("kr36Task")
public class Kr36Task {
	private static final Logger log = LoggerFactory.getLogger(Kr36Task.class);
	public void kr36Task() throws Exception {
		Long startTime = System.currentTimeMillis();
		Kr36 kr36 = new Kr36();
		try {
			kr36.mainMethod();
		} catch (Exception e) {
		}finally {
			log.info("Kr36Task-end-:{}",System.currentTimeMillis()-startTime);
		}

	}
}
